<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <style>
        @page {

            @bottom-left {
                content: element(footer);
                vertical-align: top;
                padding-top: 10px;
            }

            @top-right {
                content: element(header);
                vertical-align: bottom;
                padding-bottom: 10px;
            }

            /*页面布局*/
            margin-top: 2.3cm;
            margin-left: 2.3cm;
            margin-right: 2.3cm;
            margin-bottom: 2.3cm;
            size: A4 portrait;
        }
        /*默认字体*/
        body{
            font-family: 宋体;
            font-size: 14pt;
        }

        div.header {
            position: running(header);
            font-size: 14px;
        }

        div.footer {
            display: block;
            margin-top: 0.5cm;
            position: running(footer);
        }

        #pagenumber:before {
            content: counter(page);
        }

        #pagecount:before {
            content: counter(pages);
        }

        div.header {
            position: running(header);
            font-size: 14px;
        }

        div.footer {
            display: block;
            margin-top: 0.5cm;
            position: running(footer);
        }

        /*换页(在这一行之前分页 / 之后分页是page-break-after: always)*/
        .next-page {
            page-break-before: always
        }

        /*宋体四号字*/
        .four{
            font-family: 宋体;
            font-size: 14pt;
        }
        /*宋体四号加粗字*/
        .fourb{
            font-family: 宋体;
            font-size: 14pt;
            font-weight: bold;
        }
        /*分页*/
        .next-page {
            page-break-before: always
        }
        /*左对齐*/
        .right {
            text-align: right;
        }
        /*右对齐*/
        .left {
            text-align: left;
        }
        /*首行缩进*/
        .indent{
            text-indent:2em;
        }
        /*居中*/
        .center{
            text-align: center;
        }
        /*默认1.5倍行高*/
        p{
            line-height: 150%;
        }

        table {
            width: 100%;
            border-collapse:collapse;
            margin-left:0pt;border:solid;
        }
        th{
            text-align:center;
            border:solid windowtext 1.0pt;
            height:26pt;

        }
        td{
            text-align:center;
            border:solid windowtext 1.0pt;
            height:26pt;

        }

        hr {
            background-color: #000000;
            border: dashed #000000 0.5px;
            height: 1px;
        }
    </style>
</head>
<page_footer footer="page">
    <div class='footer'>
        <div th:fragment="footer">
            <!-- <hr> -->
            <div class="page-count">
                <span id="pagenumber"></span>
            </div>
        </div>
    </div>
</page_footer>
<body>
<page>
    <p class="center"><span class="fourb">考试成绩</span> </p>
    <p>&nbsp;</p>
    <table>
        <thead>
        <tr>
            <td style="width: 25%"><span>姓名</span></td>
            <td style="width: 25%"><span>语文</span></td>
            <td style="width: 25%"><span>数学</span></td>
            <td style="width: 25%"><span>英语</span></td>
        </tr>
        </thead>
        <tbody>
        <#if data?? && (data?size > 0)>
        <#list data as p>
        <tr>
            <td><span>${p.name!""}</span></td>
            <td><span>${p.language!"0"}</span></td>
            <td><span>${p.math!""}</span></td>
            <td><span>${p.english!""}</span></td>
        </tr>
        </#list>
        </#if>
        </tbody>
    </table>

    <p class="indent"><span>在这段时间中，孩子的进步比较大。这些都离不开老师的精心栽培，孩子的进步我们家长都看在眼里，作为家长我们也希望，老师可以关注孩子更多一些。</span></p>
    <p class="indent"><span>另外，希望老师可以多多与我们家长沟通，这样可以及时反映孩子的不足或是在校的一些情况，这样我们也可以更加了解孩子，孩子的缺点我们也会加以指导改正。</span></p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p style="margin-left: 300pt"><span>家长签字:___________</span></p>
</page>
</body>
</html>